<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="/web/css/reset.css" media="all" />
<link rel="stylesheet" type="text/css" href="/web/css/glasshouse.css" media="screen" />
<script type="text/javascript" src="/web/js/jquery.js"></script>
<script type="text/javascript" src="/web/js/slides.jquery.js"></script>
<script type="text/javascript" src="/web/js/glasshouse.js"></script>
<title>Glasshouse</title>
</head>
<body>
<?php get_component('layoutBuilder', 'buildLayout')?>
<div id="container">
  <div id="loading-layer">
    <p><?php echo __('Loading ...') ?></p>
    <img src="/web/img/loading.gif" alt="" style="margin-left: 10px; margin-top: 10px;" />
  </div>
  <div id="header">
    <div class="logo-holder">
      <div class="img-holder"><a href="/"><img src="/web/img/logo-img.png" alt="Glasshouse" /></a></div>
      <div class="holder">
        <div class="logo"> <a href="/"><img src="/web/img/logo.png" alt="Glasshouse" /></a> </div>
        <div class="text"> <small><?php echo __('hingega uksed') ?></small> </div>
      </div>
    </div>
    <div class="menu-holder">
<?php include_slot('language-menu') ?>
<?php include_slot('header-menu') ?>
    </div>
  </div>
<?php include_slot('slides') ?>
  <div id="doors">
    <div class="contents-state">
      <div class="contents">
        <?php include_slot('contents') ?>
        <div class="cls"></div>
      </div>
    </div>
   <?php if(!has_slot('menu')): ?>
    <div class="news-state">
      <div>
        <div>
          <div id="first-tab">Uudised</div>
          <div id="second-tab">Meie asukoht</div>
        </div>
        <div class="news-container">
				  <div id="js-news">
            <table cellpadding="0" cellspacing="0">
<?php if(has_slot('news')): ?>
<?php include_slot('news'); ?>
						    <tr><td colspan="2"><div class="news-button"><?php echo __('Eelmised') ?></div></td></tr>
<?php else: ?>
                <tr><td><p><?php echo __('No news yet') ?></p></td></tr>
<?php endif; ?>

							</table>
						</div>
          <div id="js-location">
            <p><?php include_slot('location') ?></p>
          </div>
        </div>
      </div>
    </div><?php else: ?><?php include_slot('menu') ?><?php endif; ?>
    <div class="cls"></div>
  </div>
  <div class="cls"></div>
</div>
<div id="footer"><?php include_slot('footer') ?></div>
</body>
</html>
